﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DeviceWindow.xaml.cs" company="">
//   
// </copyright>
// <summary>
//   Interaction logic for DeviceWindow.xaml
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace F5.BigIp.LocalTrafficManager.UI.Views
{
    using System.Windows;

    /// <summary>
    ///     Interaction logic for LoadBalancer Window
    /// </summary>
    public partial class DeviceWindow : ILoadBalancerView
    {
        #region Constructors and Destructors

        /// <summary>Initializes a new instance of the <see cref="DeviceWindow"/> class.</summary>
        public DeviceWindow()
        {
            this.InitializeComponent();
        }

        #endregion

        #region Methods

        /// <summary>The ok button on click.</summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The e.</param>
        private void OkButton_OnClick(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        #endregion

        /// <summary>The cancel button on click.</summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The e.</param>
        private void CancelButton_OnClick(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
    }
}